#include<iostream>
using namespace std;
int main()
{
	double a, b, c;
	int t;
	cin >> t;
	while (t--) {
		cin >> a >> b >> c;
		if (a + b > c && b + c > a && a + c > b) {
			cout << "YES" << endl;
		}
		else {
			cout << "NO" << endl;
		}
	}
	return 0;
}